all:tcpsever tcpclient testJson
tcpsever:main.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp
tcpclient:tcpclient.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp
testJson:testJson.cc
	g++ -o $@ $^ -ljsoncpp
.PHONY:clean
clean:
	rm -rf tcpsever
	rm -rf tcpclient
	rm -rf testJson